package com.ay277.htqoa.base.biz;

import java.io.Serializable;
import java.util.List;

/**
 * Created by accp on 2016/12/6.
 */
public interface Biz<E extends Serializable,PK extends Serializable> {
    void doSave(E enitity);
    void doUpdate(E enitity);
    void doDelete(E enitity);
    E findById (PK id);
    List<E> findAll();
}
